package dao.impl;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import base.common.GenericDaoHibernate;
import dao.ITeacherDao;
import entity.Teacher;

@SuppressWarnings("unchecked")
@Component("teacherDao")
@Scope("prototype")
public class TeacherDaoImpl extends  GenericDaoHibernate<Teacher , Integer>   implements ITeacherDao{
	public Teacher findByType(Teacher teacher) {
		    
	       return teacher;
	  }
     
}
